<!DOCTYPE html>
<html>
    <head>
        <title><?php echo $title; ?></title>
        <!-- Bootstrap -->
        <link href="<?php echo base_url(); ?>css/bootstrap.min.css" rel="stylesheet" media="screen">
    </head>
    <body>
        <div class="container">
            <div class="row">
                <div class="span6"><h3>Greatbigbeautifullife.com</h3></div>
                <div class="span6"><h6>Welcome <?php echo $this->session->userdata('user_login'); ?>  <a class="btn" href="<?php echo base_url() ?>/index.php/login/logout_user"><i class="icon-share"></i> Logout</a></h6></div>
            </div>
            <?php
            $active = $this->uri->segment(1);
            ?>
            <div class="row">
                <ul class="nav nav-tabs">

                    <li class="<?php if ($active == '') echo ''; ?>"><?php echo anchor('chat_topic', 'Forum'); ?></li>

                    <li class="<?php if ($active == '') echo ''; ?>"><?php echo anchor('act/other', 'Other'); ?></li>

                    <li class="<?php if ($active == '') echo ''; ?>"><?php echo anchor('act/activity', 'Activity'); ?></li>

                    <li class="<?php if ($active == 'profile') echo 'active'; ?>"><?php echo anchor('login/profile', 'Profile'); ?></li>
                </ul>
            </div>
